package com.example.griddemo.viewmodel;

public class Category {
    private int id;
    private String name;
    private String picUrl;
    private String desc;
    // 可以根据需要添加更多字段

    public Category() {
    }

    public Category(int id, String name, String picUrl, String desc) {
        this.id = id;
        this.name = name;
        this.picUrl = picUrl;
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


}